Table of Contents

Passenger Flow Statistics Events

Function Introduction

Passenger flow statistics events

illustrate

HTTP/HTTPS Request Method

POST

Request Message Style

{
    "operator": "PassengerFlowStatics",
    "deviceInfo": {
        "serialNumber": "I320013590DEA0BE21F6958",
        "platformID": "123456666"
    },
    "info": {
        "eventId": 1,
        "time": "2020-03-31T10:10:01+08:00",
        "staticInterval": 1,
        "staticBegainTime": "20200331T101001+08",
        "staticEndTime": "20210101-20210102",
        "outNumber": 10,
        "inNumber": 10
    }
}

Request Message Parameters

Message Field Name describe Required or not
deviceinfo
  serialNumber Equipment serial number yes
  platformID Platform ID no
info
  eventId Event ID, for the same event, the ID is the same yes
  time The time of the event occurrence, in accordance with the ISO 8601 time format, refers to the combination representation of date and time introduced in the ISO 8601 standard that must be read before use yes
  staticInterval Statistical interval, in hours yes
  staticBegainTime Start time of statistics yes
  staticEndTime End time of statistics yes
  outNumber Number of people going out yes
  inNumber Number of Entries yes

Response Message Style

{
    "operator": "PassengerFlowStatics-Ack",
    "info": {
        "eventId": 123
    },
    "result": {
        "errorNo": 0,
        "description": "ok"
    }
}

Response message parameters

Message Field Name describe Required or not
eventId Event ID, for the same event, the ID is the same yes